package com.jg.visitor;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.scheduling.annotation.EnableAsync;

@SpringBootApplication
@MapperScan("com.jg.visitor.mapper")
@ServletComponentScan(basePackages = "com.jg.visitor.filter")
@EnableCaching
@EnableAsync
public class VisitorSystemApplication {

    public static void main(String[] args) {
        SpringApplication.run(VisitorSystemApplication.class, args);
    }

}
